<ngx-slider
  [formControl]="formControl"
  [formlyAttributes]="field"
  [options]="sliderOptions"
  [class]="to.className"></ngx-slider>
